---
title: Using Together AI in LobeChat API Key
description: >-
  Learn how to integrate Together AI into LobeChat, obtain the API key, configure settings, and start conversations with AI models.

tags:
  - Together AI
  - API key
  - Web UI
---

# Using Together AI in LobeChat

<Image alt={'Using Together AI in LobeChat'} cover src={'https://github.com/lobehub/lobe-chat/assets/34400653/28e025dd-367b-4add-85b6-499f4aacda61'} />

[together.ai](https://www.together.ai/) is a platform focused on the field of Artificial Intelligence Generated Content (AIGC), founded in June 2022. It is dedicated to building a cloud platform for running, training, and fine-tuning open-source models, providing scalable computing power at prices lower than mainstream vendors.

This document will guide you on how to use Together AI in LobeChat:

<Steps>
  ### Step 1: Obtain the API Key for Together AI

  - Visit and log in to [Together AI API](https://api.together.ai/)
  - Upon initial login, the system will automatically create an API key for you and provide a $5.0 credit

  <Image alt={'Obtain together.ai API key'} inStep src={'https://github.com/lobehub/lobe-chat/assets/34400653/fcdcda9b-8668-4eac-b5cb-04803a888e92'} />

  - If you haven't saved it, you can also view the API key at any time in the `API Key` interface under `Settings`

  <Image alt={'View together.ai API key'} inStep src={'https://github.com/lobehub/lobe-chat/assets/34400653/663335d0-fb37-4882-9c7f-ebbd53275644'} />

  ### Step 2: Configure Together AI in LobeChat

  - Visit the `Settings` interface in LobeChat
  - Find the setting for `together.ai` under `AI Service Provider`

  <Image alt={'Enter Together AI API key in LobeChat'} inStep src={'https://github.com/lobehub/lobe-chat/assets/34400653/0cc6c9b8-4688-472b-a80f-f84c5ebbc719'} />

  - Open together.ai and enter the obtained API key
  - Choose a Together AI model for your assistant to start the conversation

  <Image alt={'Select and use Together AI model'} inStep src={'https://github.com/lobehub/lobe-chat/assets/34400653/34d92da4-783f-4f16-8c4a-9d8e9a03c8da'} />

  <Callout type={'warning'}>
    During usage, you may need to pay the API service provider, please refer to Together AI's pricing
    policy.
  </Callout>
</Steps>

You can now engage in conversations using the models provided by Together AI in LobeChat.
